由买买提看人间百态

topics

全部话题 - 话题: formatter
1 2 下页 末页 (共2页)
e******H
发帖数: 370
1
来自主题: TVGame版 - Help! SD card formatter
谢谢大家先,
SD Formatter v2.0 好像只能FAT,不能FAT32啊?
怎么弄成FAT32?
o*********e
发帖数: 3093
2
来自主题: Military版 - Linux哪个版本的比较易用
月光阿姨,我问你,我刚刚想在自己电脑上装Drupal来玩玩,结果出现这么多问题,咋
整?
是哪些问题造成怎么多问题?
Skip to main content
Drupal 8.4.3
Installation tasks
Choose language
(active)
Choose profile
Verify requirements
Set up database
Install site
Configure site
Choose language
Error message
Deprecated function: assert(): Calling assert() with a string argument is
deprecated in DrupalCoreCacheMemoryBackend->set() (line 101 of
corelibDrupalCoreCacheMemoryBackend.php).
DrupalCoreCacheMemoryBackend->set('module_implements', Array) (Line: 359)
D... 阅读全帖
b**t
发帖数: 33
3
来自主题: Java版 - java date question
i am trying to do a simple parse and compare program for date comparison
import java.text.*;
import java.util.Date;
public class DateTest {
public static void main(String[] args) throws Exception {
SimpleDateFormat formatter = new SimpleDateFormat("MMM dd yyyy");
Date d1 = formatter.parse("aug 04 2004");
Date d2 = formatter.parse("may 06 2004");
Date d3 = formatter.parse("mar 18 2004");
System.out.println("d1 to d2:"+d1.compareTo(d2));
System.out.println("d1 to d3:"+d1.compareTo(d3));
System.out
w****w
发帖数: 521
4
来自主题: Programming版 - python print filename and lineno
加个logger handler, module和lineno对应__file__和__line__:
formatter = logging.Formatter('%(asctime)st%(levelname)st%(module)st%(lineno
)st%(message)s')
handler.setFormatter(formatter)

发帖数: 1
5
来自主题: JobHunting版 - 分享一些经验
看到有很多被雷的话题(当然很多被雷者不是水平问题),忍不住想说几句,虽然在美国
很多人刷题进大公司,但能刷下来的就应该不笨。最近刚刚经历了一次久违了的Onsite
,虽然面的很差,但也有机会真实体验了一把招聘的具体流程,再结合最近的一些话题
,想说一些供新人们参考。
本人从后台到前端,涉猎范围很广,曾并行参加10多个项目(新开发和维护同时)。无论
到哪个项目,别说被雷,一旦进去,想出来都很困难。为什么呢,就是一句话,能出活
。我知道这里有太多牛掰的大公司,有的是钱,顾你是来做Research的,不是为了做具
体的产品,这种情况不是我要讲的。
其实找工作和实际工作真的是两回事。举个例子,算法很好,但那都是人研究完的,工
作中没时间冥思苦想这些东西,拿来用就可以了,如果你别出心裁弄出一些新东西,是
需要大量时间来检验的。作为一个Software Engineer,要做的是收集需求,设计并实
现它,最后保质保量产品上线。被雷的基本都是问题出现在设计和编码上,但设计和编
码其实也是不能分开来谈的。老司机们各有各的本领,这里只想给新手们一些提示。怎
么才能在工作中提高个人的开发效率呢,这里我只想... 阅读全帖
F****H
发帖数: 202
6
以前发过一个测试成功心得,不过那是0.1版的已经过时,现在重写一份0.3版教程。所
有需要的程序可以在我的压缩包http://www.megaupload.com/?d=17WFAO89里找到。
(1)SD卡处理步骤:
1.安装Panasonic SD Formatter
2.插入SD卡至PC端
- 注:容量小于2G,不能是SDHC,且有些SD卡可能用不了
3.运行Panasonic SD Formatter
4.点击"Option"键
5."FORMAT TYPE"项目下拉选择"FULL(Erase ON)"
6."FORMAT SIZE ADJUSTMENT"项目下拉选择"ON",点击"OK"返回主界面
7.点击"Format"进入格式化进程...需时比较长,请耐心等待
- 注:格式化前请备份好你SD卡内的数据,格式化进程会自动把SD卡内所有数据清除。
- 注:格式化后的SD卡为标准FAT格式,请勿使用Win自带的格式化程序,Win自带的格式
化会影响SD卡的传输数据速度及加大储存数据容量,部分Homebrew程序会因此出现读取
错误。
(2)Homebrew c
N**D
发帖数: 10322
7
这个好像只有一个叫Formatt的牌子, bh
Formatt 77mm Graduated Neutral Density (ND) 0.9 Filter
r****y
发帖数: 26819
8
来自主题: Apple版 - apple市值超过 微软 (转载)
VS这几年的版本我用的也不多,从VS2003到VS2005用得比较集中,还是越做越好吧。
当然,不做.net,那可能没啥感觉。VS另一个好处是html的formatter。不过也是用到
才觉得好,因为html的formatter工具实在很少。
wy
发帖数: 14511
9
来自主题: Apple版 - apple市值超过 微软 (转载)
I thought u were talking about VS HTML "drawer" where
you can drag and drop elements to the page. That one is
really aweful. I didn't know it has a formatter. and I am not
sure if this formatter will insert something M$-ish tags to
your source, just like FrintPage does
r****y
发帖数: 26819
10
来自主题: BuildingWeb版 - 请推荐一两款HTML5编辑器
vs express,主要因为有formatter
如果不考虑formatter,sublime text2也不错
c*******e
发帖数: 290
11
来自主题: Java版 - ThreadLocal 的一个 use case
这个没有任何 thread safety 的保护,但好像是安全的。为什么?
public class ThreadLocalTest {
public static void main(String args[]) throws IOException {
Thread t1 = new Thread(new Task());
Thread t2 = new Thread( new Task());

t1.start();
t2.start();

}

public static String threadSafeFormat(Date date){
DateFormat formatter = new SimpleDateFormat("dd/MM/yyyy");
return formatter.format(date);
}

}
class Task implements Runnable{

@Ov... 阅读全帖
c*******e
发帖数: 290
12
来自主题: Java版 - ThreadLocal 的一个 use case
对,因为那个 date 是个 local variable, 每次都重新创建。所以,他那个例子完全
不适合,根本就用不上 ThreadLocal, 他那个 PerThreadFormatter 完全是多余的. 贴
出他的完整例子:
/**
*
* @author
*/
public class ThreadLocalTest {
public static void main(String args[]) throws IOException {
Thread t1 = new Thread(new Task());
Thread t2 = new Thread( new Task());

t1.start();
t2.start();

}

/*
* Thread safe format method because every thread will use its own
DateFormat
*/
public static S... 阅读全帖
k***r
发帖数: 4260
13
来自主题: Programming版 - 有人用Haskell吗
I don't see why it has to be "manual", and I don't see why
a formatter wouldn't work. It's questionable if a good python
formatter has been implemented but I don't see anything that
prevents that from happening.
Yes, you can do:
if 1 + 1 == 2: print 'foo'; print 'bar'
The language syntax parser is able to determine that it's
equivalent to:
if 1 + 1 == 2:
print 'foo'
print 'bar'
So if you choose a template, it should be able to format it that way.
Once the syntax is parsed, the AST in mem
l**********n
发帖数: 8443
14
I added the logging.properties to classpath, it is not working.
handlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler
java.util.logging.ConsoleHandler.level=INFO
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.FileHandler.level=INFO
java.util.logging.FileHandler.pattern=logs/jetty.log
# Write 10MB before rotating this file
java.util.logging.FileHandler.limit=10000000
# Number of rotating files to be used
java.util.logging.FileHand... 阅读全帖
l**********n
发帖数: 8443
15
there should be a global logger:
static public void setup() throws IOException {
// Get the global logger to configure it
Logger logger = Logger.getLogger(Logger.GLOBAL_LOGGER_NAME);
logger.setLevel(Level.INFO);
fileTxt = new FileHandler("Logging.txt");
fileHTML = new FileHandler("Logging.html");
// Create txt Formatter
formatterTxt = new SimpleFormatter();
fileTxt.setFormatter(formatterTxt);
logger.addHandler(fileTxt);
// Create HTML Formatter
formatt... 阅读全帖
k**********4
发帖数: 16092
16
来自主题: Military版 - 一个excel问题
I see我觉得要把那一行整体删除,因为formatt还在
p*******m
发帖数: 20761
17
Finally realized: the problem was my brand new Kingston microSDXC class 10
64GB card. It is using extFAT filesystem. Mini 0805 supports it (with newer
firmwares), but not officially... I had to reformat my 64GB card to FAT32
and now it's working without problems! Unfortunately If I formating card in
MINI 0805 itself then it makes extFAT again, and the problem is starting
over.
Used 3rd party partition manager since no any FAT32 formatter or SDformatter
could format it into FAT32 under Win7x64
t******l
发帖数: 10908
18
来自主题: Parenting版 - WISC-V 智商测试
British syntax/semantics simplifier 拍马过来一看,说了一句:卧槽,虚词太多,
短修饰后置太坑爹,more 和 less 还分两词,顺序还反一下。骗猴子的把戏。
于是 British syntax/semantics simplifier 基于代数变换等价性,删虚词,短修饰
语改成前置,more 和 less 只用一个。这些都是纯形式变换,不需要理解意思。三下
五除二,最后调 formatter 给 text align 一下,收拾书包走人。
然后逻辑模块过来一看,卧槽,这么简单明了的事儿,老军医居然能写成 lexile
1600L+。不说了,老军医自己先去查查是不是被病人传染了 hyperlexia。// super
fast run

lexile
S****o
发帖数: 503
19
来自主题: LosAngeles版 - 如何能找回相机SD卡里的照片
If the formatter just cleared the system area and didn't erase the whole
flash, it may still be recoverable.
a***a
发帖数: 40617
20
来自主题: PhotoGear版 - Hitech GND问题
我的也是从uk直接买的formatt那个网站?
p*****e
发帖数: 769
21
来自主题: PhotoGear版 - Hitech GND问题
ebay上的卖家,他们网站http://www.teamworkphoto.co.uk/
formatt一定是假不了
a***a
发帖数: 40617
22
来自主题: PhotoGear版 - 谁用过tiffen或者BW的ND镜?
1.5以上的
看review好像是BW的轻微warm cast
有人说tiffen的IR+ND,cast更中性
formatt便宜很多,但有严重紫色cast
f*****d
发帖数: 2726
23
一个多月前买的8G class 10 patriot SDHC。用来 dual-boot root nook color 的,结果发现没有比class 4 的快多少。前几天突然发现 nook color 进入不了 root 的系统了。把原来的 class 4 的装上NC用就没有问题。
昨天本来准备把那个8G的格式化用在GF2上,结果 windows vista 下面无法格式化,说"windows can not complete format"。
用device management, 读了半个小时什么也没有显示,一直在connecting to virtual device。
用panasonic sd formatter, 说“the device is not supported."
在linux下面干脆就读不了。估计是坏了。
和newegg联系,说过了30天,只能找厂家。想问问有什么办法format吗?不过这个卡,就算format成功,我也不敢用了。
再就是提醒大家,一定不要用patriot的SDHC,好在这个卡里面什么都没有。万一宝贵的照片录像在里面就麻烦了。
顺便问问,比较... 阅读全帖
d*********u
发帖数: 8521
24
我NC上用的是同牌子16G的,现在看来还行,没什么问题。
相机上用的transend Class 10 16G,目前也还好
要格式化,Panasonic SD Formatter也没戏的话,就够呛了…………
i****a
发帖数: 36252
25
来自主题: Joke版 - Extreme Programming
你不用自动 code formatter?
wy
发帖数: 14511
26
来自主题: Apple版 - apple市值超过 微软 (转载)
ouch! vim rocks when editing html, why do you need a f**king "formatter"
for HTML? it can barely write syntax correct HTML source!
r****y
发帖数: 26819
27
来自主题: Apple版 - apple市值超过 微软 (转载)
formatter很实用吧。
如果你打开网上某页的html,乱成一团,想理清楚,是不是需要format一下?
还有代码fold功能也必需,因为太长,fold起来层次就很清楚。
主要是快。
wy
发帖数: 14511
28
来自主题: Apple版 - apple市值超过 微软 (转载)
what formatter you are talking ablout? if just identifiaction,
vim can do this in 3 keystrokes. folding, 2 keystrokes
r****y
发帖数: 26819
29
来自主题: Apple版 - apple市值超过 微软 (转载)
不错啊,看来你也用formatter和folding嘛。跟VS差不多,也是快捷键的事。
哈哈
r****y
发帖数: 26819
30
来自主题: Apple版 - apple市值超过 微软 (转载)
抓来抓去确实有。鼠标的好处嘛。
formatter就是clean,把代码格式收拾干净。
FrintPage没用过。
k****i
发帖数: 1072
31
来自主题: DotNet版 - how to write an object into xml with c#
In this simple case,mark the class [Serializable],and then call the
formatter's Serialize and Deserialize function accordingly.
F*********n
发帖数: 64
32
来自主题: Hardware版 - 有什么硬盘修复工具推荐?
下载一下DOS启动盘 Hirens BootCD
http://www.hirensbootcd.org/files/Hirens.BootCD.15.2.zip
里面包括下面的硬盘工具:
Active Kill Disk 4.1.2393
Securely overwrites and destroys all data on physical drive.
CrystalDiskInfo 4.0.1
HDD health monitoring utility, displays basic HDD information, monitors S.M.
A.R.T. values and disk temperature.
Darik's Boot and Nuke (DBAN) 1.0.7
Completely deletes the contents of any hard disk it can detect.
DRevitalize 1.2
Repairs bad sectors (physical defects) on hard drives by generating ... 阅读全帖
c*****s
发帖数: 214
33
Preferences/Java/Code Style/Formatter
可以建一个自己的Code Style然后修改。
m******t
发帖数: 2416
34
I have always thought of coding style more as a process issue than as a
technical one. There is checkstyle (as everybody else has pointed out).
There is doccheck. And there is exportable/importable Eclipse formatters
that can be easily published across the team (which I'm sure other IDE's
support as well). But nothing will work until it's actually enforced, which
costs money and time.
I once worked on a team where a perfect checkstyle report is a _mandatory_
article to bring into your code revie
A**o
发帖数: 1550
35
来自主题: Java版 - 问个java logger的问题
read java api, read java source code, and sub your class over xml formatter.
or, just use log4j which has all kind of appenders.
g*****g
发帖数: 34805
36
来自主题: Java版 - Google Java coding standard
这种标准都是formatter + findbug就可以强制了。其实不难实行。
g*****g
发帖数: 34805
37
来自主题: Java版 - Google Java coding standard
这种标准都是formatter + findbug就可以强制了。其实不难实行。
g*****g
发帖数: 34805
38
来自主题: Programming版 - 程序速读指南
SGI, STL还是C/C++,用在Java上不合适,JDK的代码我读的不多,
但像Spring的code就写得很好,你可以看看。至于indention,我说了,
必须用formatter,否则不可能一致的。除了static final,不推荐用
_在任何变量上,比如gameList这样一个变量很干净,game_list就很C。
声明变量的时候经常直接就如
GameList gameList = new GameList();
都不用脑,不用多想名字,也很清楚。
g*****g
发帖数: 34805
39
来自主题: Programming版 - 有人用Haskell吗
The point is that you have to manually maintain indentation.
While when you use curly brackets, you can use a formatter
to format the code based on your preferred template (Eclipse
has this feature). Therefore, all the source code can have
the same style no matter how it is originally written.
Consider this python example, all 3 are equal.
>>> if 1 + 1 == 2:
... print "foo"
... print "bar"
... x = 42
>>> if 1 + 1 == 2:
... print "foo"; print "bar"; x = 42
>>> if 1 + 1 == 2: print
g*****g
发帖数: 34805
40
来自主题: Programming版 - 有人用Haskell吗
With an explicit block marker like bracket, you don't need
compilation information to format the code. Eclipse formatter,
for one, can format the code well even if tons of compilation
errors exist. That's very helpful when you are doing some
copy and paste. Sometimes I copy a piece of code from web, and
integrate with my partial class, the formatting
is aweful due to web nature, the open and close bracket may not
match at all, there are often typo and other mess inside. Yet a
quick format and yo
1 2 下页 末页 (共2页)